Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dml_kem_codecs.c333 || (p8fmt->priv_length > 0 && p8fmt->priv_length != v->prvkey_bytes) in ossl_ml_kem_d2i_PKCS8()
352 if (p8fmt->priv_length > 0) { in ossl_ml_kem_d2i_PKCS8()
387 if (p8fmt->priv_length > 0) { in ossl_ml_kem_d2i_PKCS8()
388 if ((key->encoded_dk = OPENSSL_malloc(p8fmt->priv_length)) == NULL) { in ossl_ml_kem_d2i_PKCS8()
394 memcpy(key->encoded_dk, buf + p8fmt->priv_offset, p8fmt->priv_length); in ossl_ml_kem_d2i_PKCS8()
472 || (p8fmt->priv_length > 0 && p8fmt->priv_length != v->prvkey_bytes) in ossl_ml_kem_i2d_prvkey()
521 if (p8fmt->priv_length != 0) { in ossl_ml_kem_i2d_prvkey()
H A Dml_dsa_codecs.c466 || (p8fmt->priv_length > 0 && p8fmt->priv_length != v->sk_len) in ossl_ml_dsa_d2i_PKCS8()
485 if (p8fmt->priv_length > 0) { in ossl_ml_dsa_d2i_PKCS8()
512 if (p8fmt->priv_length > 0) in ossl_ml_dsa_d2i_PKCS8()
585 || (p8fmt->priv_length > 0 && p8fmt->priv_length != params->sk_len) in ossl_ml_dsa_i2d_prvkey()
632 if (p8fmt->priv_length != 0) { in ossl_ml_dsa_i2d_prvkey()
H A Dml_common_codecs.h79 size_t priv_length; /* Key bytes */ member