Home
last modified time | relevance | path

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

/openssl/test/
H A Devp_pkey_dhkem_test.c714 unsigned char masked_priv[64]; in test_ecx_dhkem_derivekey() local
718 memcpy(masked_priv, t->priv, t->privlen); in test_ecx_dhkem_derivekey()
724 masked_priv[0] &= 248; in test_ecx_dhkem_derivekey()
725 masked_priv[t->privlen - 1] &= 127; in test_ecx_dhkem_derivekey()
726 masked_priv[t->privlen - 1] |= 64; in test_ecx_dhkem_derivekey()
728 masked_priv[0] &= 252; in test_ecx_dhkem_derivekey()
729 masked_priv[t->privlen - 1] |= 128; in test_ecx_dhkem_derivekey()
747 && TEST_mem_eq(masked_priv, t->privlen, privkey, privkeylen); in test_ecx_dhkem_derivekey()

Completed in 6 milliseconds