Home
last modified time | relevance | path

Searched refs:ANDROID_PUBKEY_MODULUS_SIZE (Results 1 – 5 of 5) sorted by relevance

/system/core/libcrypto_utils/
Dandroid_pubkey.c26 #if (ANDROID_PUBKEY_MODULUS_SIZE % 4) != 0
31 #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];
67 uint8_t modulus_buffer[ANDROID_PUBKEY_MODULUS_SIZE]; in android_pubkey_decode()
114 if (!BN_bn2bin_padded(buffer, ANDROID_PUBKEY_MODULUS_SIZE, num)) { in android_pubkey_encode_bignum()
118 reverse_bytes(buffer, ANDROID_PUBKEY_MODULUS_SIZE); in android_pubkey_encode_bignum()
131 RSA_size(key) != ANDROID_PUBKEY_MODULUS_SIZE) { in android_pubkey_encode()
152 if (!ctx || !rr || !BN_set_bit(rr, ANDROID_PUBKEY_MODULUS_SIZE * 8) || in android_pubkey_encode()
/system/core/libcrypto_utils/include/crypto_utils/
Dandroid_pubkey.h31 #define ANDROID_PUBKEY_MODULUS_SIZE (2048 / 8) macro
35 (3 * sizeof(uint32_t) + 2 * ANDROID_PUBKEY_MODULUS_SIZE)
/system/core/libcrypto_utils/tests/
Dandroid_pubkey_test.cpp84 const uint8_t kSignature2048[ANDROID_PUBKEY_MODULUS_SIZE] = {
/system/extras/libfec/include/fec/
Dio.h74 uint8_t signature[ANDROID_PUBKEY_MODULUS_SIZE];
75 uint8_t ecc_signature[ANDROID_PUBKEY_MODULUS_SIZE];
/system/extras/libfec/
Dfec_private.h63 uint8_t signature[ANDROID_PUBKEY_MODULUS_SIZE];