Lines Matching refs:key
83 unsigned char key[512]; in main() local
127 memset(key, 0, sizeof(key)); in main()
160 keylen = fread( key, 1, sizeof( key ), fkey ); in main()
171 keylen < (int) sizeof( key ) ) in main()
173 key[keylen++] = (unsigned char) n; in main()
181 if( keylen > (int) sizeof( key ) ) in main()
182 keylen = (int) sizeof( key ); in main()
184 memcpy( key, argv[4], keylen ); in main()
271 mbedtls_md_update( &sha_ctx, key, keylen ); in main()
275 memset( key, 0, sizeof( key ) ); in main()
373 mbedtls_md_update( &sha_ctx, key, keylen ); in main()
377 memset( key, 0, sizeof( key ) ); in main()