Searched refs:resultlen (Results 1 – 8 of 8) sorted by relevance
| /openbmc/qemu/tests/unit/ |
| H A D | test-crypto-hash.c | 111 size_t resultlen = 0; in test_hash_alloc() local 123 &resultlen, in test_hash_alloc() 126 g_assert(resultlen == expected_lens[i]); in test_hash_alloc() 128 for (j = 0; j < resultlen; j++) { in test_hash_alloc() 143 size_t resultlen; in test_hash_prealloc() local 151 resultlen = expected_lens[i]; in test_hash_prealloc() 152 origresult = result = g_new0(uint8_t, resultlen); in test_hash_prealloc() 158 &resultlen, in test_hash_prealloc() 163 g_assert(resultlen == expected_lens[i]); in test_hash_prealloc() 164 for (j = 0; j < resultlen; j++) { in test_hash_prealloc() [all …]
|
| H A D | test-crypto-hmac.c | 99 size_t resultlen = 0; in test_hmac_alloc() local 116 &resultlen, &error_fatal); in test_hmac_alloc() 119 for (j = 0; j < resultlen; j++) { in test_hmac_alloc() 138 size_t resultlen = 0; in test_hmac_prealloc() local 149 resultlen = strlen(exp_output) / 2; in test_hmac_prealloc() 150 origresult = result = g_new0(uint8_t, resultlen); in test_hmac_prealloc() 158 &resultlen, &error_fatal); in test_hmac_prealloc() 164 for (j = 0; j < resultlen; j++) { in test_hmac_prealloc() 183 size_t resultlen = 0; in test_hmac_iov() local 204 &resultlen, &error_fatal); in test_hmac_iov() [all …]
|
| /openbmc/qemu/crypto/ |
| H A D | x509-utils.c | 31 size_t *resultlen, in qcrypto_get_x509_cert_fingerprint() argument 61 if (*resultlen < hlen) { in qcrypto_get_x509_cert_fingerprint() 64 *resultlen, hlen); in qcrypto_get_x509_cert_fingerprint() 70 result, resultlen) != 0) { in qcrypto_get_x509_cert_fingerprint()
|
| H A D | hash-afalg.c | 244 size_t *resultlen, in qcrypto_afalg_hash_hmac_bytesv() argument 252 resultlen, errp); in qcrypto_afalg_hash_hmac_bytesv() 262 size_t *resultlen, in qcrypto_afalg_hmac_bytesv() argument 266 iov, niov, result, resultlen, in qcrypto_afalg_hmac_bytesv()
|
| H A D | hashpriv.h | 31 size_t *resultlen,
|
| H A D | hmacpriv.h | 25 size_t *resultlen,
|
| /openbmc/u-boot/cmd/ |
| H A D | fdc.c | 36 uchar resultlen; /* lenght of result */ member 279 pCMD->resultlen=0; /* result only after execution */ in fdc_issue_cmd() 283 pCMD->resultlen=0; /* no result */ in fdc_issue_cmd() 290 pCMD->resultlen=0; /* no result */ in fdc_issue_cmd() 298 pCMD->resultlen=0; /* no result */ in fdc_issue_cmd() 302 pCMD->resultlen=10; /* 10 byte result */ in fdc_issue_cmd() 307 pCMD->resultlen=7; /* 7 byte result */ in fdc_issue_cmd() 312 pCMD->resultlen=0; /* no result */ in fdc_issue_cmd() 317 pCMD->resultlen=2; in fdc_issue_cmd() 328 for(i=0;i<pCMD->resultlen;i++) { in fdc_issue_cmd()
|
| /openbmc/qemu/include/crypto/ |
| H A D | x509-utils.h | 19 size_t *resultlen,
|