/AliOS-Things-master/components/mbedtls/library/ |
A D | pk_wrap.c | 85 if( sig_len < rsa_len ) in rsa_verify_wrap() 98 if( sig_len > rsa_len ) in rsa_verify_wrap() 106 unsigned char *sig, size_t *sig_len, in rsa_sign_wrap() argument 116 *sig_len = mbedtls_rsa_get_len( rsa ); in rsa_sign_wrap() 234 unsigned char *sig, size_t *sig_len, 256 unsigned char *sig, size_t *sig_len, in eckey_sign_wrap() argument 282 unsigned char *sig, size_t *sig_len, 354 unsigned char *sig, size_t *sig_len, in eckey_sign_rs_wrap() argument 511 hash, hash_len, sig, sig_len, in ecdsa_verify_rs_wrap() 621 *sig_len = rsa_alt->key_len_func( rsa_alt->key ); in rsa_alt_sign_wrap() [all …]
|
A D | pk.c | 243 const unsigned char *sig, size_t sig_len, in mbedtls_pk_verify_restartable() argument 267 md_alg, hash, hash_len, sig, sig_len, rs_ctx->rs_ctx ); in mbedtls_pk_verify_restartable() 282 sig, sig_len ) ); in mbedtls_pk_verify_restartable() 290 const unsigned char *sig, size_t sig_len ) in mbedtls_pk_verify() argument 293 sig, sig_len, NULL ) ); in mbedtls_pk_verify() 302 const unsigned char *sig, size_t sig_len ) in mbedtls_pk_verify_ext() argument 331 if( sig_len < mbedtls_pk_get_len( ctx ) ) in mbedtls_pk_verify_ext() 343 if( sig_len > mbedtls_pk_get_len( ctx ) ) in mbedtls_pk_verify_ext() 365 unsigned char *sig, size_t *sig_len, in mbedtls_pk_sign_restartable() argument 405 sig, sig_len, f_rng, p_rng ) ); in mbedtls_pk_sign_restartable() [all …]
|
A D | pkcs11.c | 174 size_t sig_len = 0, asn_len = 0, oid_size = 0; in mbedtls_pkcs11_sign() local 197 sig_len = ctx->len; in mbedtls_pkcs11_sign() 198 if( hashlen > sig_len || asn_len > sig_len || in mbedtls_pkcs11_sign() 199 hashlen + asn_len > sig_len ) in mbedtls_pkcs11_sign() 232 asn_len + hashlen, sig, &sig_len ) != CKR_OK ) in mbedtls_pkcs11_sign()
|
A D | x509write_csr.c | 136 size_t pub_len = 0, sig_and_oid_len = 0, sig_len; in mbedtls_x509write_csr_der() local 193 if( ( ret = mbedtls_pk_sign( ctx->key, ctx->md_alg, hash, 0, sig, &sig_len, in mbedtls_x509write_csr_der() 217 sig_oid, sig_oid_len, sig, sig_len ) ); in mbedtls_x509write_csr_der()
|
A D | x509write_crt.c | 308 size_t sub_len = 0, pub_len = 0, sig_and_oid_len = 0, sig_len; in mbedtls_x509write_crt_der() local 425 if( ( ret = mbedtls_pk_sign( ctx->issuer_key, ctx->md_alg, hash, 0, sig, &sig_len, in mbedtls_x509write_crt_der() 436 sig_oid, sig_oid_len, sig, sig_len ) ); in mbedtls_x509write_crt_der()
|
A D | rsa.c | 2328 size_t sig_len; in mbedtls_rsa_rsassa_pkcs1_v15_verify() local 2339 sig_len = ctx->len; in mbedtls_rsa_rsassa_pkcs1_v15_verify() 2348 if( ( encoded = mbedtls_calloc( 1, sig_len ) ) == NULL || in mbedtls_rsa_rsassa_pkcs1_v15_verify() 2349 ( encoded_expected = mbedtls_calloc( 1, sig_len ) ) == NULL ) in mbedtls_rsa_rsassa_pkcs1_v15_verify() 2355 if( ( ret = rsa_rsassa_pkcs1_v15_encode( md_alg, hashlen, hash, sig_len, in mbedtls_rsa_rsassa_pkcs1_v15_verify() 2374 sig_len ) ) != 0 ) in mbedtls_rsa_rsassa_pkcs1_v15_verify() 2384 mbedtls_platform_zeroize( encoded, sig_len ); in mbedtls_rsa_rsassa_pkcs1_v15_verify() 2390 mbedtls_platform_zeroize( encoded_expected, sig_len ); in mbedtls_rsa_rsassa_pkcs1_v15_verify()
|
A D | ssl_cli.c | 2510 size_t sig_len, hashlen; in ssl_parse_server_key_exchange() local 2571 sig_len = ( p[0] << 8 ) | p[1]; in ssl_parse_server_key_exchange() 2574 if( p != end - sig_len ) in ssl_parse_server_key_exchange() 2582 MBEDTLS_SSL_DEBUG_BUF( 3, "signature", p, sig_len ); in ssl_parse_server_key_exchange() 2646 md_alg, hash, hashlen, p, sig_len, rs_ctx ) ) != 0 ) in ssl_parse_server_key_exchange()
|
A D | ssl_srv.c | 4019 size_t i, sig_len; in ssl_parse_certificate_verify() local 4155 sig_len = ( ssl->in_msg[i] << 8 ) | ssl->in_msg[i+1]; in ssl_parse_certificate_verify() 4158 if( i + sig_len != ssl->in_hslen ) in ssl_parse_certificate_verify() 4169 ssl->in_msg + i, sig_len ) ) != 0 ) in ssl_parse_certificate_verify()
|
/AliOS-Things-master/components/mbedtls/include/mbedtls/ |
A D | pk_internal.h | 53 const unsigned char *sig, size_t sig_len ); 58 unsigned char *sig, size_t *sig_len, 66 const unsigned char *sig, size_t sig_len, 72 unsigned char *sig, size_t *sig_len,
|
A D | pk.h | 333 const unsigned char *sig, size_t sig_len ); 358 const unsigned char *sig, size_t sig_len, 393 const unsigned char *sig, size_t sig_len ); 422 unsigned char *sig, size_t *sig_len, 451 unsigned char *sig, size_t *sig_len,
|
/AliOS-Things-master/components/mbedtls/programs/pkey/ |
A D | ecdsa.c | 125 size_t sig_len; in main() local 200 sig, &sig_len, in main() 206 mbedtls_printf( " ok (signature length = %u)\n", (unsigned int) sig_len ); in main() 208 dump_buf( " + Signature: ", sig, sig_len ); in main() 240 sig, sig_len ) ) != 0 ) in main()
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/utils/boot_struct/ |
A D | boot_struct.c | 33 .sig_len = SIG_LEN, \ 85 .sig_len = SIG_LEN, 108 .sig_len = SIG_LEN,
|
A D | tool_msg.h | 198 unsigned short sig_len; member 210 unsigned short sig_len; member 239 unsigned short sig_len; member
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/communication/comminication_knowles/ |
A D | tool_msg.h | 159 unsigned short sig_len; member 168 unsigned short sig_len; member
|
/AliOS-Things-master/components/mbedtls/platform/yoc/ |
A D | rsa_alt.c | 387 unsigned int sig_len = 0; in mbedtls_rsa_pkcs1_sign() local 394 (void)sig_len; in mbedtls_rsa_pkcs1_sign() 445 ret = csi_tee_rsa_sign(hash, hashlen, key, key_size * 3, sig, &sig_len, type); in mbedtls_rsa_pkcs1_sign()
|
/AliOS-Things-master/components/mbedtls/programs/test/ |
A D | benchmark.c | 833 size_t sig_len; in main() local 851 tmp, &sig_len, myrand, NULL ) ); in main() 864 tmp, &sig_len, myrand, NULL ) != 0 ) in main() 874 tmp, sig_len ) ); in main()
|
/AliOS-Things-master/components/linkkit/wrappers/platform/os/ |
A D | HAL_AWSS_yoc.c | 65 (*g_ieee80211_handler)((char *)buf->payload, buf->rx_ctrl.sig_len, in monitor_data_handler()
|
/AliOS-Things-master/components/linkkit/wrappers/os/ |
A D | HAL_AWSS_rhino.c | 80 (*g_ieee80211_handler)((char *)buf->payload, buf->rx_ctrl.sig_len, in monitor_data_handler()
|
/AliOS-Things-master/components/drivers/peripheral/wifi/include/vfsdev/ |
A D | wifi_dev.h | 331 unsigned sig_len: 12; /**< It is really lenth of packet */ member
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/ |
A D | wifi_port.c | 480 p_buf->rx_ctrl.sig_len = len; in wifi_promisc_rx_cb()
|