Home
last modified time | relevance | path

Searched refs:binlen (Results 1 – 4 of 4) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dutils_module_tests.c48 size_t binlen; in printf_encode_decode_tests() local
61 binlen = printf_decode(bin, sizeof(bin), buf); in printf_encode_decode_tests()
62 if (binlen != test->len || in printf_encode_decode_tests()
63 os_memcmp(bin, test->data, binlen) != 0) { in printf_encode_decode_tests()
65 bin, binlen); in printf_encode_decode_tests()
69 binlen = printf_decode(bin, sizeof(bin), test->encoded); in printf_encode_decode_tests()
70 if (binlen != test->len || in printf_encode_decode_tests()
71 os_memcmp(bin, test->data, binlen) != 0) { in printf_encode_decode_tests()
73 bin, binlen); in printf_encode_decode_tests()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dutils_module_tests.c48 size_t binlen; in printf_encode_decode_tests() local
61 binlen = printf_decode(bin, sizeof(bin), buf); in printf_encode_decode_tests()
62 if (binlen != test->len || in printf_encode_decode_tests()
63 os_memcmp(bin, test->data, binlen) != 0) { in printf_encode_decode_tests()
65 bin, binlen); in printf_encode_decode_tests()
69 binlen = printf_decode(bin, sizeof(bin), test->encoded); in printf_encode_decode_tests()
70 if (binlen != test->len || in printf_encode_decode_tests()
71 os_memcmp(bin, test->data, binlen) != 0) { in printf_encode_decode_tests()
73 bin, binlen); in printf_encode_decode_tests()
/third_party/openssl/engines/
De_capi.c619 static int lend_tobn(BIGNUM *bn, unsigned char *bin, int binlen)
627 for (i = 0; i < binlen / 2; i++) {
630 bin[i] = bin[binlen - i - 1];
631 bin[binlen - i - 1] = c;
634 if (!BN_bin2bn(bin, binlen, bn))
/third_party/openssl/crypto/evp/
Dpmeth_lib.c1593 long binlen; in EVP_PKEY_CTX_hex2ctrl() local
1596 bin = OPENSSL_hexstr2buf(hex, &binlen); in EVP_PKEY_CTX_hex2ctrl()
1599 if (binlen <= INT_MAX) in EVP_PKEY_CTX_hex2ctrl()
1600 rv = ctx->pmeth->ctrl(ctx, cmd, binlen, bin); in EVP_PKEY_CTX_hex2ctrl()