Home
last modified time | relevance | path

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

/openssl/crypto/ec/curve448/
H A Deddsa.c50 static void clamp(uint8_t secret_scalar_ser[EDDSA_448_PRIVATE_BYTES]) in clamp()
52 secret_scalar_ser[0] &= -COFACTOR; in clamp()
53 secret_scalar_ser[EDDSA_448_PRIVATE_BYTES - 1] = 0; in clamp()
54 secret_scalar_ser[EDDSA_448_PRIVATE_BYTES - 2] |= 0x80; in clamp()
114 uint8_t secret_scalar_ser[EDDSA_448_PRIVATE_BYTES]; in ossl_c448_ed448_derive_public_key() local
119 if (!oneshot_hash(ctx, secret_scalar_ser, sizeof(secret_scalar_ser), in ossl_c448_ed448_derive_public_key()
125 clamp(secret_scalar_ser); in ossl_c448_ed448_derive_public_key()
127 ossl_curve448_scalar_decode_long(secret_scalar, secret_scalar_ser, in ossl_c448_ed448_derive_public_key()
128 sizeof(secret_scalar_ser)); in ossl_c448_ed448_derive_public_key()
149 OPENSSL_cleanse(secret_scalar_ser, sizeof(secret_scalar_ser)); in ossl_c448_ed448_derive_public_key()

Completed in 13 milliseconds