Searched refs:fo_failure_secret (Results 1 – 2 of 2) sorted by relevance
/openbsd/lib/libcrypto/mlkem/ |
H A D | mlkem1024.c | 805 uint8_t fo_failure_secret[32]; member 902 memcpy(priv->fo_failure_secret, entropy + 32, 32); in MLKEM1024_generate_key_external_entropy() 1035 kdf(failure_key, priv->fo_failure_secret, ciphertext, ciphertext_len); in MLKEM1024_decap() 1106 !CBB_add_bytes(out, priv->fo_failure_secret, in MLKEM1024_marshal_private_key() 1107 sizeof(priv->fo_failure_secret))) { in MLKEM1024_marshal_private_key() 1130 memcpy(priv->fo_failure_secret, CBS_data(in), in MLKEM1024_parse_private_key() 1131 sizeof(priv->fo_failure_secret)); in MLKEM1024_parse_private_key() 1132 if (!CBS_skip(in, sizeof(priv->fo_failure_secret))) in MLKEM1024_parse_private_key()
|
H A D | mlkem768.c | 804 uint8_t fo_failure_secret[32]; member 901 memcpy(priv->fo_failure_secret, entropy + 32, 32); in MLKEM768_generate_key_external_entropy() 1034 kdf(failure_key, priv->fo_failure_secret, ciphertext, ciphertext_len); in MLKEM768_decap() 1105 !CBB_add_bytes(out, priv->fo_failure_secret, in MLKEM768_marshal_private_key() 1106 sizeof(priv->fo_failure_secret))) { in MLKEM768_marshal_private_key() 1129 memcpy(priv->fo_failure_secret, CBS_data(in), in MLKEM768_parse_private_key() 1130 sizeof(priv->fo_failure_secret)); in MLKEM768_parse_private_key() 1131 if (!CBS_skip(in, sizeof(priv->fo_failure_secret))) in MLKEM768_parse_private_key()
|