Home
last modified time | relevance | path

Searched refs:P384_PRIVATE_KEY_SIZE (Results 1 – 2 of 2) sorted by relevance

/external/open-dice/src/
Dboringssl_ecdsa_utils.c130 uint8_t private_key[P384_PRIVATE_KEY_SIZE], in P384KeypairFromSeed() argument
152 P384_PRIVATE_KEY_SIZE); in P384KeypairFromSeed()
156 if (1 != BN_bn2bin_padded(private_key, P384_PRIVATE_KEY_SIZE, pD)) { in P384KeypairFromSeed()
176 if (BN_num_bytes(x) > P384_PRIVATE_KEY_SIZE) { in P384KeypairFromSeed()
180 if (BN_num_bytes(y) > P384_PRIVATE_KEY_SIZE) { in P384KeypairFromSeed()
183 BN_bn2bin(y, &public_key[P384_PRIVATE_KEY_SIZE]); in P384KeypairFromSeed()
198 const uint8_t private_key[P384_PRIVATE_KEY_SIZE]) { in P384Sign() argument
205 pD = BN_bin2bn(private_key, P384_PRIVATE_KEY_SIZE, NULL); in P384Sign()
222 if (BN_num_bytes(sig->r) > P384_PRIVATE_KEY_SIZE) { in P384Sign()
226 if (BN_num_bytes(sig->s) > P384_PRIVATE_KEY_SIZE) { in P384Sign()
[all …]
/external/open-dice/include/dice/
Dboringssl_ecdsa_utils.h27 #define P384_PRIVATE_KEY_SIZE 48 macro
36 uint8_t private_key[P384_PRIVATE_KEY_SIZE],
45 const uint8_t private_key[P384_PRIVATE_KEY_SIZE]);