sr_crypto_alloc_resources
sd->sd_alloc_resources = sr_crypto_alloc_resources;
int sr_crypto_alloc_resources(struct sr_discipline *);