Lines Matching refs:tmpbuf
704 unsigned char *tmpbuf; in ossltest_aes128_cbc_cipher() local
707 tmpbuf = OPENSSL_malloc(inl); in ossltest_aes128_cbc_cipher()
710 if (tmpbuf == NULL && inl > 0) in ossltest_aes128_cbc_cipher()
714 if (tmpbuf != NULL) in ossltest_aes128_cbc_cipher()
715 memcpy(tmpbuf, in, inl); in ossltest_aes128_cbc_cipher()
721 if (tmpbuf != NULL) in ossltest_aes128_cbc_cipher()
722 memcpy(out, tmpbuf, inl); in ossltest_aes128_cbc_cipher()
723 OPENSSL_free(tmpbuf); in ossltest_aes128_cbc_cipher()
738 unsigned char *tmpbuf = OPENSSL_malloc(inl); in ossltest_aes128_gcm_cipher() local
741 if (tmpbuf == NULL && inl > 0) in ossltest_aes128_gcm_cipher()
745 if (tmpbuf != NULL) in ossltest_aes128_gcm_cipher()
746 memcpy(tmpbuf, in, inl); in ossltest_aes128_gcm_cipher()
752 if (tmpbuf != NULL && out != NULL) in ossltest_aes128_gcm_cipher()
753 memcpy(out, tmpbuf, inl); in ossltest_aes128_gcm_cipher()
754 OPENSSL_free(tmpbuf); in ossltest_aes128_gcm_cipher()