Searched refs:ANDROID_PUBKEY_MODULUS_SIZE (Results 1 – 5 of 5) sorted by relevance
26 #if (ANDROID_PUBKEY_MODULUS_SIZE % 4) != 031 #define ANDROID_PUBKEY_MODULUS_SIZE_WORDS (ANDROID_PUBKEY_MODULUS_SIZE / 4)46 uint8_t modulus[ANDROID_PUBKEY_MODULUS_SIZE];49 uint8_t rr[ANDROID_PUBKEY_MODULUS_SIZE];74 n = BN_le2bn(key_struct->modulus, ANDROID_PUBKEY_MODULUS_SIZE, NULL); in android_pubkey_decode()119 if (sizeof(RSAPublicKey) > size || RSA_size(key) != ANDROID_PUBKEY_MODULUS_SIZE) { in android_pubkey_encode()134 if (!BN_bn2le_padded(key_struct->modulus, ANDROID_PUBKEY_MODULUS_SIZE, RSA_get0_n(key))) { in android_pubkey_encode()139 if (!ctx || !rr || !BN_set_bit(rr, ANDROID_PUBKEY_MODULUS_SIZE * 8) || in android_pubkey_encode()141 !BN_bn2le_padded(key_struct->rr, ANDROID_PUBKEY_MODULUS_SIZE, rr)) { in android_pubkey_encode()
31 #define ANDROID_PUBKEY_MODULUS_SIZE (2048 / 8) macro35 (3 * sizeof(uint32_t) + 2 * ANDROID_PUBKEY_MODULUS_SIZE)
84 const uint8_t kSignature2048[ANDROID_PUBKEY_MODULUS_SIZE] = {
74 uint8_t signature[ANDROID_PUBKEY_MODULUS_SIZE];75 uint8_t ecc_signature[ANDROID_PUBKEY_MODULUS_SIZE];
63 uint8_t signature[ANDROID_PUBKEY_MODULUS_SIZE];