Searched refs:secret_scalar_ser (Results 1 – 1 of 1) sorted by relevance
41 static void clamp(uint8_t secret_scalar_ser[EDDSA_448_PRIVATE_BYTES]) in clamp()43 secret_scalar_ser[0] &= -COFACTOR; in clamp()44 secret_scalar_ser[EDDSA_448_PRIVATE_BYTES - 1] = 0; in clamp()45 secret_scalar_ser[EDDSA_448_PRIVATE_BYTES - 2] |= 0x80; in clamp()93 uint8_t secret_scalar_ser[EDDSA_448_PRIVATE_BYTES]; in c448_ed448_derive_public_key() local98 if (!oneshot_hash(secret_scalar_ser, sizeof(secret_scalar_ser), privkey, in c448_ed448_derive_public_key()102 clamp(secret_scalar_ser); in c448_ed448_derive_public_key()104 curve448_scalar_decode_long(secret_scalar, secret_scalar_ser, in c448_ed448_derive_public_key()105 sizeof(secret_scalar_ser)); in c448_ed448_derive_public_key()125 OPENSSL_cleanse(secret_scalar_ser, sizeof(secret_scalar_ser)); in c448_ed448_derive_public_key()