• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/CommonCrypto-60061/test/CommonCrypto/

Lines Matching refs:byteBuffer

171 static int testOriginalOneShotDigest(CCDigestAlgorithm alg, char *input, byteBuffer expected) {
172 byteBuffer computedMD = mallocDigestByteBuffer(alg);
208 static byteBuffer cc_md2_discreet_legacy(char *input, CC_LONG len, void *out) {
212 byteBuffer retval = mallocByteBuffer(CC_MD2_BLOCK_LONG);
219 static byteBuffer cc_md4_discreet_legacy(char *input, CC_LONG len, void *out) {
223 byteBuffer retval = mallocByteBuffer(CC_MD4_DIGEST_LENGTH);
232 static byteBuffer cc_md5_discreet_legacy(char *input, CC_LONG len, void *out) {
236 byteBuffer retval = mallocByteBuffer(CC_MD5_DIGEST_LENGTH);
245 static byteBuffer cc_sha1_discreet_legacy(char *input, CC_LONG len, void *out) {
249 byteBuffer retval = mallocByteBuffer(CC_SHA1_DIGEST_LENGTH);
259 static byteBuffer cc_sha224_discreet_legacy(char *input, CC_LONG len, void *out) {
263 byteBuffer retval = mallocByteBuffer(CC_SHA224_DIGEST_LENGTH);
269 static byteBuffer cc_sha256_discreet_legacy(char *input, CC_LONG len, void *out) {
273 byteBuffer retval = mallocByteBuffer(CC_SHA256_DIGEST_LENGTH);
279 static byteBuffer cc_sha384_discreet_legacy(char *input, CC_LONG len, void *out) {
283 byteBuffer retval = mallocByteBuffer(CC_SHA384_DIGEST_LENGTH);
289 static byteBuffer cc_sha512_discreet_legacy(char *input, CC_LONG len, void *out) {
293 byteBuffer retval = mallocByteBuffer(CC_SHA512_DIGEST_LENGTH);
303 testOriginalDiscreetDigest(CCDigestAlgorithm alg, char *input, byteBuffer expected, byteBuffer expectedIntermediate) {
304 byteBuffer computedMD = mallocDigestByteBuffer(alg);
307 byteBuffer comp_intr;
329 static int testNewOneShotDigest(CCDigestAlgorithm alg, char *input, byteBuffer expected) {
330 byteBuffer computedMD = mallocDigestByteBuffer(alg);
340 static int testNewDiscreetDigest(CCDigestAlgorithm alg, char *input, byteBuffer expected) {
341 byteBuffer computedMD = mallocDigestByteBuffer(alg);
342 byteBuffer computedMD2 = mallocDigestByteBuffer(alg);
375 static int rfc1321Test(CCDigestAlgorithm alg, char *input, byteBuffer expected) {
378 byteBuffer computedMD = mallocDigestByteBuffer(alg);
391 static int testAllDigests(CCDigestAlgorithm alg, char *input, byteBuffer expected, byteBuffer expectedIntermediate) {
405 byteBuffer expectedMD = hexStringToBytesIfNotNULL(dv->md2str);
406 byteBuffer expectedIntermediate = hexStringToBytesIfNotNULL(dv->md2intr);