Lines Matching refs:key

482                             mbedtls_ecp_keypair *key )  in pk_get_ecpubkey()  argument
486 if( ( ret = mbedtls_ecp_point_read_binary( &key->grp, &key->Q, in pk_get_ecpubkey()
489 ret = mbedtls_ecp_check_pubkey( &key->grp, &key->Q ); in pk_get_ecpubkey()
643 const unsigned char *key, in pk_parse_key_pkcs1_der() argument
650 p = (unsigned char *) key; in pk_parse_key_pkcs1_der()
724 const unsigned char *key, in pk_parse_key_sec1_der() argument
731 unsigned char *p = (unsigned char *) key; in pk_parse_key_sec1_der()
850 const unsigned char* key, in pk_parse_key_pkcs8_unencrypted_der() argument
856 unsigned char *p = (unsigned char *) key; in pk_parse_key_pkcs8_unencrypted_der()
939 const unsigned char *key, size_t keylen, in pk_parse_key_pkcs8_encrypted_der() argument
954 p = (unsigned char *) key; in pk_parse_key_pkcs8_encrypted_der()
1060 const unsigned char *key, size_t keylen, in mbedtls_pk_parse_key() argument
1074 if( keylen == 0 || key[keylen - 1] != '\0' ) in mbedtls_pk_parse_key()
1080 key, pwd, pwdlen, &len ); in mbedtls_pk_parse_key()
1107 if( keylen == 0 || key[keylen - 1] != '\0' ) in mbedtls_pk_parse_key()
1113 key, pwd, pwdlen, &len ); in mbedtls_pk_parse_key()
1138 if( keylen == 0 || key[keylen - 1] != '\0' ) in mbedtls_pk_parse_key()
1144 key, NULL, 0, &len ); in mbedtls_pk_parse_key()
1161 if( keylen == 0 || key[keylen - 1] != '\0' ) in mbedtls_pk_parse_key()
1167 key, NULL, 0, &len ); in mbedtls_pk_parse_key()
1197 if( ( ret = pk_parse_key_pkcs8_encrypted_der( pk, key, keylen, in mbedtls_pk_parse_key()
1211 if( ( ret = pk_parse_key_pkcs8_unencrypted_der( pk, key, keylen ) ) == 0 ) in mbedtls_pk_parse_key()
1221 ( ret = pk_parse_key_pkcs1_der( mbedtls_pk_rsa( *pk ), key, keylen ) ) == 0 ) in mbedtls_pk_parse_key()
1234 ( ret = pk_parse_key_sec1_der( mbedtls_pk_ec( *pk ), key, keylen ) ) == 0 ) in mbedtls_pk_parse_key()
1249 const unsigned char *key, size_t keylen ) in mbedtls_pk_parse_public_key() argument
1260 if( keylen == 0 || key[keylen - 1] != '\0' ) in mbedtls_pk_parse_public_key()
1266 key, NULL, 0, &len ); in mbedtls_pk_parse_public_key()
1273 key = pem.buf; in mbedtls_pk_parse_public_key()
1282 p = (unsigned char *) key; in mbedtls_pk_parse_public_key()