Lines Matching refs:blob
294 keymaster_blob_t blob; /* KM_BIGNUM and KM_BYTES*/ member
496 param.blob.data = (uint8_t*)bytes; in keymaster_param_blob()
497 param.blob.data_length = bytes_len; in keymaster_param_blob()
543 if (a->blob.data_length != 0 && b->blob.data_length == 0) in keymaster_param_compare()
545 if (a->blob.data_length == 0 && b->blob.data_length == 0) in keymaster_param_compare()
547 if (a->blob.data_length == 0 && b->blob.data_length > 0) in keymaster_param_compare()
550 retval = memcmp(a->blob.data, b->blob.data, a->blob.data_length < b->blob.data_length in keymaster_param_compare()
551 ? a->blob.data_length in keymaster_param_compare()
552 : b->blob.data_length); in keymaster_param_compare()
555 else if (a->blob.data_length != b->blob.data_length) { in keymaster_param_compare()
557 if (a->blob.data_length < b->blob.data_length) in keymaster_param_compare()
559 if (a->blob.data_length > b->blob.data_length) in keymaster_param_compare()
574 free((void*)param->blob.data); in keymaster_free_param_values()
575 param->blob.data = NULL; in keymaster_free_param_values()