Lines Matching refs:tmpbuf
592 unsigned char *tmpbuf; in ossltest_aes128_cbc_cipher() local
595 tmpbuf = OPENSSL_malloc(inl); in ossltest_aes128_cbc_cipher()
598 if (tmpbuf == NULL && inl > 0) in ossltest_aes128_cbc_cipher()
602 if (tmpbuf != NULL) in ossltest_aes128_cbc_cipher()
603 memcpy(tmpbuf, in, inl); in ossltest_aes128_cbc_cipher()
609 if (tmpbuf != NULL) in ossltest_aes128_cbc_cipher()
610 memcpy(out, tmpbuf, inl); in ossltest_aes128_cbc_cipher()
611 OPENSSL_free(tmpbuf); in ossltest_aes128_cbc_cipher()
626 unsigned char *tmpbuf = OPENSSL_malloc(inl); in ossltest_aes128_gcm_cipher() local
629 if (tmpbuf == NULL && inl > 0) in ossltest_aes128_gcm_cipher()
633 if (tmpbuf != NULL) in ossltest_aes128_gcm_cipher()
634 memcpy(tmpbuf, in, inl); in ossltest_aes128_gcm_cipher()
640 if (tmpbuf != NULL && out != NULL) in ossltest_aes128_gcm_cipher()
641 memcpy(out, tmpbuf, inl); in ossltest_aes128_gcm_cipher()
642 OPENSSL_free(tmpbuf); in ossltest_aes128_gcm_cipher()