Lines Matching refs:der
177 /* rsa_parse_additional_prime parses a DER-encoded OtherPrimeInfo from |cbs| and
387 uint8_t *der;
389 if (!RSA_public_key_to_bytes(&der, &der_len, in)) {
394 OPENSSL_free(der);
399 *outp = der;
400 der = NULL;
402 memcpy(*outp, der, der_len);
406 OPENSSL_free(der);
429 uint8_t *der;
431 if (!RSA_private_key_to_bytes(&der, &der_len, in)) {
436 OPENSSL_free(der);
441 *outp = der;
442 der = NULL;
444 memcpy(*outp, der, der_len);
448 OPENSSL_free(der);
462 uint8_t *der;
464 if (!RSA_public_key_to_bytes(&der, &der_len, rsa)) {
467 RSA *ret = RSA_public_key_from_bytes(der, der_len);
468 OPENSSL_free(der);
473 uint8_t *der;
475 if (!RSA_private_key_to_bytes(&der, &der_len, rsa)) {
478 RSA *ret = RSA_private_key_from_bytes(der, der_len);
479 OPENSSL_free(der);