Lines Matching refs:pem
1068 mbedtls_pem_context pem; in mbedtls_pk_parse_key() local
1070 mbedtls_pem_init( &pem ); in mbedtls_pk_parse_key()
1077 ret = mbedtls_pem_read_buffer( &pem, in mbedtls_pk_parse_key()
1089 pem.buf, pem.buflen ) ) != 0 ) in mbedtls_pk_parse_key()
1094 mbedtls_pem_free( &pem ); in mbedtls_pk_parse_key()
1110 ret = mbedtls_pem_read_buffer( &pem, in mbedtls_pk_parse_key()
1121 pem.buf, pem.buflen ) ) != 0 ) in mbedtls_pk_parse_key()
1126 mbedtls_pem_free( &pem ); in mbedtls_pk_parse_key()
1141 ret = mbedtls_pem_read_buffer( &pem, in mbedtls_pk_parse_key()
1148 pem.buf, pem.buflen ) ) != 0 ) in mbedtls_pk_parse_key()
1153 mbedtls_pem_free( &pem ); in mbedtls_pk_parse_key()
1164 ret = mbedtls_pem_read_buffer( &pem, in mbedtls_pk_parse_key()
1171 pem.buf, pem.buflen, in mbedtls_pk_parse_key()
1177 mbedtls_pem_free( &pem ); in mbedtls_pk_parse_key()
1255 mbedtls_pem_context pem; in mbedtls_pk_parse_public_key() local
1257 mbedtls_pem_init( &pem ); in mbedtls_pk_parse_public_key()
1263 ret = mbedtls_pem_read_buffer( &pem, in mbedtls_pk_parse_public_key()
1273 key = pem.buf; in mbedtls_pk_parse_public_key()
1274 keylen = pem.buflen; in mbedtls_pk_parse_public_key()
1278 mbedtls_pem_free( &pem ); in mbedtls_pk_parse_public_key()
1287 mbedtls_pem_free( &pem ); in mbedtls_pk_parse_public_key()