Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/pkcs8/
Dpkcs8.c415 CBS epki, algorithm, ciphertext; in PKCS8_parse_encrypted_private_key() local
416 if (!CBS_get_asn1(cbs, &epki, CBS_ASN1_SEQUENCE) || in PKCS8_parse_encrypted_private_key()
417 !CBS_get_asn1(&epki, &algorithm, CBS_ASN1_SEQUENCE) || in PKCS8_parse_encrypted_private_key()
418 !CBS_get_asn1(&epki, &ciphertext, CBS_ASN1_OCTETSTRING) || in PKCS8_parse_encrypted_private_key()
419 CBS_len(&epki) != 0) { in PKCS8_parse_encrypted_private_key()
478 CBB epki; in PKCS8_marshal_encrypted_private_key() local
479 if (!CBB_add_asn1(out, &epki, CBS_ASN1_SEQUENCE)) { in PKCS8_marshal_encrypted_private_key()
485 alg_ok = PKCS5_pbe2_encrypt_init(&epki, &ctx, cipher, (unsigned)iterations, in PKCS8_marshal_encrypted_private_key()
488 alg_ok = pkcs12_pbe_encrypt_init(&epki, &ctx, pbe_nid, (unsigned)iterations, in PKCS8_marshal_encrypted_private_key()
504 if (!CBB_add_asn1(&epki, &ciphertext, CBS_ASN1_OCTETSTRING) || in PKCS8_marshal_encrypted_private_key()
/external/libchrome/crypto/third_party/nss/
Dchromium-nss.h63 SECKEYEncryptedPrivateKeyInfo* epki,