Lines Matching refs:bits
409 size_t bits; in sign()
413 bits = PSA_BYTES_TO_BITS((size_t)sk->len); in sign()
427 psa_set_key_bits(&attributes, bits); in sign()
470 size_t bits; in verify() local
474 bits = PSA_BYTES_TO_BITS(P_256_PRIV_KEY_SIZE); in verify()
487 psa_set_key_bits(&attributes, bits); in verify()
709 size_t bits; in shared_secret_derive()
713 bits = PSA_BYTES_TO_BITS(sk->len); in shared_secret_derive()
731 PSA_RAW_KEY_AGREEMENT_OUTPUT_SIZE(type, bits); in shared_secret_derive()
827 size_t bits = PSA_BYTES_TO_BITS((size_t)priv_key_size); in ephemeral_dh_key_gen()
846 psa_set_key_bits(&attributes, bits); in ephemeral_dh_key_gen()